package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 餐具类型基础信息对象 utensil_type
 * 
 * @author 赵文楠
 * @date 2025-05-19
 */
public class UtensilType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 餐具类型ID */
    private Long id;

    /** 餐具类型名称 */
    @Excel(name = "餐具类型名称")
    private String typeName;

    /** 类型描述 */
    @Excel(name = "类型描述")
    private String description;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("description", getDescription())
            .append("unit", getUnit())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
